package routers

import (
	"github.com/astaxie/beego"
	"my-app/controllers"
)

func init() {
	beego.Router("/user", &controllers.UserController{})
	beego.Router("/user/info", &controllers.UserController{}, "get:Info")
	beego.Router("/user/info/:id:string", &controllers.UserController{}, "get:GetId")
}
